09. Case Study Continued

JAVA C2 L2 03 Demo Pt 3

The case study is a REST API that retrieves a list of locations from a database. The code can be cloned from GitLab.

The REST API has the following components:

  • Controller - LocationController.java
  • Service - LocationService.java and LocationServiceImpl.java
  • CRUD Repository - LocationRepository.java
  • Domain Entity/Model - Location.java
  • H2 Database accessible via http://localhost:8080/h2/
  • Tomcat Server accessible via http://localhost:8080